package com.spic.business.ioc.domain;

import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * PM2.5达标情况IOC对象 ioc_pm_two_point_five
 *
 * @author spic
 * @date 2022-04-14
 */
public class IocPmTwoPointFive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 年份 */
    @Excel(name = "年份")
    private Integer year;

    /** 达标情况 */
    @Excel(name = "达标情况")
    private String compliance;
    //达标情况名称
    private String complianceName;

    /** 检测平均值 */
    @Excel(name = "检测平均值")
    private BigDecimal monitoringAverage;


    public String getComplianceName()
    {
        return complianceName;
    }

    public void setComplianceName(String complianceName)
    {
        this.complianceName = complianceName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setYear(Integer year)
    {
        this.year = year;
    }

    public Integer getYear()
    {
        return year;
    }
    public void setCompliance(String compliance)
    {
        this.compliance = compliance;
    }

    public String getCompliance()
    {
        return compliance;
    }
    public void setMonitoringAverage(BigDecimal monitoringAverage)
    {
        this.monitoringAverage = monitoringAverage;
    }

    public BigDecimal getMonitoringAverage()
    {
        return monitoringAverage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("compliance", getCompliance())
            .append("monitoringAverage", getMonitoringAverage())
            .toString();
    }
}
